package net.lunjin.service;

import java.math.BigDecimal;
import java.util.List;

import net.lunjin.bean.Organizations;
import finaler.util.Page;
import finaler.util.PageList;

public interface OrganizationsService {

	public PageList getOrgList(Page page) throws Exception ;
	public PageList getRecommendOrgList(Page page) throws Exception ;
	public PageList getHighscoreOrgList(Page page) throws Exception ;
	public PageList getLowscoreOrgList(Page page) throws Exception ;

	public boolean update(Organizations org) throws Exception ;
	public Organizations findByKey(BigDecimal orgId) throws Exception ;
	public boolean insert(Organizations org) throws Exception ;

	public List<Organizations> getAuditList()throws Exception ;
	public boolean delete(Organizations org) throws Exception ;
	public void autoUpdateHit()throws Exception;
	public int getExistNum(BigDecimal orgid, String Orgshortname)throws Exception ;
	public List<Organizations> getRandomComList(int limit)throws Exception ;
}
